home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_30913.txt < prev    next >
Text File  |  1990-10-02  |  9KB  |  377 lines

  1. -- card: 30913 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 14498
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,pillarEat,trollDead,blastDam,holeDam,chase,blasting
  13.   if direction = "east" or direction = "rear" then
  14.     if blastDam = true then
  15.       go to card id 26754
  16.       exit move
  17.     end if
  18.     if holeDam = true then
  19.       go to card id 27307
  20.       exit move
  21.     end if
  22.     go to card id 26200
  23.     exit move
  24.   end if
  25.   if direction = "west" then
  26.     beep
  27.     put "Surly you don't want to walk off the ledge and fall. Take the stairs down." into field 3
  28.     exit move
  29.   end if
  30.   if direction = "down" or direction = "south" then
  31.     go to card id 33443
  32.     exit move
  33.   end if
  34.   pass move
  35. end move
  36.  
  37.  
  38. on closeCard
  39.   set the cursor to 4
  40.   put "" into field 3
  41. end closeCard
  42.  
  43. on take
  44.   global object,carried
  45.   -- remember to update carried if you do not pass take
  46.   pass take
  47. end take
  48.  
  49. on drop
  50.   global object,dropRoom,carried
  51.   answer "Drop object onto ledge, or off the ledge?" with "off ledge"or"on ledge"
  52.   if it="off ledge" then put "33443" into dropRoom
  53.   -- remember to update carried if you do not pass drop
  54.   pass drop
  55. end drop
  56.  
  57. on use
  58.   global object,carried
  59.   -- update carried if use results in loss of object
  60.   pass use
  61. end use
  62.  
  63.  
  64.  
  65.  
  66.  
  67. -- part 16 (button)
  68. -- low flags: 80
  69. -- high flags: 2000
  70. -- rect: left=194 top=231 right=267 bottom=228
  71. -- title width / last selected line: 0
  72. -- icon id / first selected line: 9301 / 9301
  73. -- text alignment: 1
  74. -- font id: 0
  75. -- text size: 12
  76. -- style flags: 0
  77. -- line height: 16
  78. -- part name: knife
  79. ----- HyperTalk script -----
  80. on mouseUp
  81.   global takeFlag,examFlag,object,cardID
  82.   put the name of the target into object
  83.   if takeFlag = true
  84.   then send take to card id cardID
  85. else put "a knife" into field 3
  86. put false into examFlag
  87. end mouseUp
  88.  
  89.  
  90.  
  91. -- part 17 (button)
  92. -- low flags: 80
  93. -- high flags: 2000
  94. -- rect: left=126 top=231 right=267 bottom=160
  95. -- title width / last selected line: 0
  96. -- icon id / first selected line: 1015 / 1015
  97. -- text alignment: 1
  98. -- font id: 0
  99. -- text size: 12
  100. -- style flags: 0
  101. -- line height: 16
  102. -- part name: nodule
  103. ----- HyperTalk script -----
  104. on mouseUp
  105.   global takeFlag,examFlag,object,cardID
  106.   put the name of the target into object
  107.   if takeFlag = true
  108.   then send take to card id cardID
  109. else put "a silicon sphere" into field 3
  110. put false into examFlag
  111. end mouseUp
  112.  
  113.  
  114.  
  115. -- part 18 (button)
  116. -- low flags: 80
  117. -- high flags: 2000
  118. -- rect: left=160 top=232 right=268 bottom=194
  119. -- title width / last selected line: 0
  120. -- icon id / first selected line: 14953 / 14953
  121. -- text alignment: 1
  122. -- font id: 0
  123. -- text size: 12
  124. -- style flags: 0
  125. -- line height: 16
  126. -- part name: ladder
  127. ----- HyperTalk script -----
  128. on mouseUp
  129.   global takeFlag,examFlag,object,cardID
  130.   put the name of the target into object
  131.   if takeFlag = true
  132.   then send take to card id cardID
  133. else put "a rope ladder" into field 3
  134. put false into examFlag
  135. end mouseUp
  136.  
  137.  
  138.  
  139. -- part 19 (button)
  140. -- low flags: 80
  141. -- high flags: 2000
  142. -- rect: left=59 top=230 right=266 bottom=93
  143. -- title width / last selected line: 0
  144. -- icon id / first selected line: 1019 / 1019
  145. -- text alignment: 1
  146. -- font id: 0
  147. -- text size: 12
  148. -- style flags: 0
  149. -- line height: 16
  150. -- part name: bomb
  151. ----- HyperTalk script -----
  152. on mouseUp
  153.   global takeFlag,examFlag,object,cardID
  154.   put the name of the target into object
  155.   if takeFlag = true
  156.   then send take to card id cardID
  157. else put "a time bomb" into field 3
  158. put false into examFlag
  159. end mouseUp
  160.  
  161.  
  162.  
  163. -- part 20 (button)
  164. -- low flags: 80
  165. -- high flags: 2000
  166. -- rect: left=92 top=230 right=266 bottom=126
  167. -- title width / last selected line: 0
  168. -- icon id / first selected line: 24317 / 24317
  169. -- text alignment: 1
  170. -- font id: 0
  171. -- text size: 12
  172. -- style flags: 0
  173. -- line height: 16
  174. -- part name: key
  175. ----- HyperTalk script -----
  176. on mouseUp
  177.   global takeFlag,examFlag,object,cardID
  178.   put the name of the target into object
  179.   if takeFlag = true
  180.   then send take to card id cardID
  181. else put "a key" into field 3
  182. put false into examFlag
  183. end mouseUp
  184.  
  185.  
  186.  
  187. -- part 21 (button)
  188. -- low flags: 80
  189. -- high flags: 2000
  190. -- rect: left=139 top=195 right=231 bottom=173
  191. -- title width / last selected line: 0
  192. -- icon id / first selected line: 7012 / 7012
  193. -- text alignment: 1
  194. -- font id: 0
  195. -- text size: 12
  196. -- style flags: 0
  197. -- line height: 16
  198. -- part name: gem
  199. ----- HyperTalk script -----
  200. on mouseUp
  201.   global takeFlag,examFlag,object,cardID
  202.   put the name of the target into object
  203.   if takeFlag = true
  204.   then send take to card id cardID
  205. else put "a glowing gem" into field 3
  206. put false into examFlag
  207. end mouseUp
  208.  
  209.  
  210.  
  211. -- part 22 (button)
  212. -- low flags: 80
  213. -- high flags: 2000
  214. -- rect: left=105 top=195 right=231 bottom=139
  215. -- title width / last selected line: 0
  216. -- icon id / first selected line: 23078 / 23078
  217. -- text alignment: 1
  218. -- font id: 0
  219. -- text size: 12
  220. -- style flags: 0
  221. -- line height: 16
  222. -- part name: orb
  223. ----- HyperTalk script -----
  224. on mouseUp
  225.   global takeFlag,examFlag,object,cardID
  226.   put the name of the target into object
  227.   if takeFlag = true
  228.   then send take to card id cardID
  229. else put "a crystal orb" into field 3
  230. put false into examFlag
  231. end mouseUp
  232.  
  233.  
  234.  
  235. -- part 33 (button)
  236. -- low flags: 00
  237. -- high flags: 0000
  238. -- rect: left=94 top=41 right=89 bottom=134
  239. -- title width / last selected line: 0
  240. -- icon id / first selected line: 0 / 0
  241. -- text alignment: 1
  242. -- font id: 0
  243. -- text size: 12
  244. -- style flags: 0
  245. -- line height: 16
  246. -- part name: 
  247. ----- HyperTalk script -----
  248. on mouseUp
  249.   global examFlag,direction,cardID,takeFlag
  250.   if takeFlag then
  251.     put "You can't use that door unless you can get there." into field 3
  252.     put false into takeFlag
  253.   else
  254.     put "A ledge and doorway on the opposite wall of the great chamber below." into field 3
  255.     put false into examFlag
  256.   end if
  257. end mouseUp
  258.  
  259.  
  260.  
  261. -- part 35 (button)
  262. -- low flags: 00
  263. -- high flags: 0000
  264. -- rect: left=1 top=215 right=261 bottom=55
  265. -- title width / last selected line: 0
  266. -- icon id / first selected line: 0 / 0
  267. -- text alignment: 1
  268. -- font id: 0
  269. -- text size: 12
  270. -- style flags: 0
  271. -- line height: 16
  272. -- part name: 
  273. ----- HyperTalk script -----
  274. on mouseUp
  275.   global examFlag,direction,cardID
  276.   if examFlag then
  277.     put "a stairway leading down into the great chamber" into field 3
  278.     put false into examFlag
  279.   else
  280.     put "down" into direction
  281.     send move to card id cardID
  282.   end if
  283. end mouseUp
  284.  
  285.  
  286.  
  287. -- part 36 (button)
  288. -- low flags: 00
  289. -- high flags: 0000
  290. -- rect: left=230 top=164 right=190 bottom=250
  291. -- title width / last selected line: 0
  292. -- icon id / first selected line: 0 / 0
  293. -- text alignment: 1
  294. -- font id: 0
  295. -- text size: 12
  296. -- style flags: 0
  297. -- line height: 16
  298. -- part name: 
  299. ----- HyperTalk script -----
  300. on mouseUp
  301.   global examFlag,takeFlag,direction,cardID
  302.   if examFlag then
  303.     put "A doorway in the chamber below." into field 3
  304.     put false into examFlag
  305.   else
  306.     put "You must go down there before you can use that door." into field 3
  307.     put false into takeFlag
  308.   end if
  309. end mouseUp
  310.  
  311.  
  312.  
  313. -- part 40 (button)
  314. -- low flags: 00
  315. -- high flags: 0000
  316. -- rect: left=51 top=182 right=203 bottom=84
  317. -- title width / last selected line: 0
  318. -- icon id / first selected line: 0 / 0
  319. -- text alignment: 1
  320. -- font id: 0
  321. -- text size: 12
  322. -- style flags: 0
  323. -- line height: 16
  324. -- part name: 
  325. ----- HyperTalk script -----
  326. on mouseUp
  327.   global examFlag,takeFlag,direction,cardID
  328.   if takeFlag then
  329.     put "You can't take it -- it's in the room below you." into field 3
  330.     put false into takeFlag
  331.   else
  332.     put "Looks like a giant wash tub in the room below." into field 3
  333.     put false into examFlag
  334.   end if
  335. end mouseUp
  336.  
  337.  
  338.  
  339. -- part 42 (button)
  340. -- low flags: 00
  341. -- high flags: 0000
  342. -- rect: left=119 top=131 right=157 bottom=143
  343. -- title width / last selected line: 0
  344. -- icon id / first selected line: 0 / 0
  345. -- text alignment: 1
  346. -- font id: 0
  347. -- text size: 12
  348. -- style flags: 0
  349. -- line height: 16
  350. -- part name: 
  351. ----- HyperTalk script -----
  352. on mouseUp
  353.   global examFlag,takeFlag,direction,cardID
  354.   if examFlag then
  355.     put "A doorway in the chamber below." into field 3
  356.     put false into examFlag
  357.   else
  358.     put "You must go down there before you can use that door." into field 3
  359.     put false into takeFlag
  360.   end if
  361. end mouseUp
  362.  
  363.  
  364.  
  365. -- part contents for background part 25
  366. ----- text -----
  367. East Ledge
  368. (looking west)
  369.  
  370. -- part contents for background part 24
  371. ----- text -----
  372. You are on a ledge overlooking a huge chamber to the west.  A stone stairway winds down to the floor of the chamber.  A doorway to the east leads to the dam room.
  373.  
  374.  
  375. -- part contents for background part 36
  376. ----- text -----
  377. 1